package com.lvmama.rhino.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.github.abel533.mapper.Mapper;
import com.lvmama.rhino.pojo.ManGodCount;

public interface ManGodCountMapper extends Mapper<ManGodCount> {

	public void saveBatch(@Param("manGodCounts")List<ManGodCount> manGodCounts);
	
	/**
	 * 查询过去num小时内的数据
	 * @return
	 */
	public List<ManGodCount> queryManGodCountByTime(@Param("num")Integer num);
	
//	public List<ManGodCount> queryManGodByTimeSlot(@Param("startTime")Date startTime,@Param("endTime")Date endTime);
	
}
